package com.gxt.riaapp.client.mvc;

import com.extjs.gxt.ui.client.mvc.AppEvent;
import com.extjs.gxt.ui.client.mvc.Controller;
import com.extjs.gxt.ui.client.mvc.Dispatcher;
import com.extjs.gxt.ui.client.mvc.View;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.VerticalPanel;
import com.extjs.gxt.ui.client.widget.Viewport;
import com.extjs.gxt.ui.client.widget.button.Button;
import com.extjs.gxt.ui.client.widget.layout.FlowLayout;
import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.ui.RootPanel;

public class SmplView  extends View  {
	@Override
	protected void initialize() {
		// TODO Auto-generated method stub
		super.initialize();
		
	}
	public SmplView(Controller controller) {
	
		super(controller);
		System.out.println("생성자.");
		Button btn = new Button("클릭");
		Viewport vp = new Viewport();
		vp.add(btn);
		RootPanel.get().add(vp);
	}
	@Override
	protected void handleEvent(AppEvent event) {
		// TODO Auto-generated method stub
		
	}
}
